#!/usr/bin/env gnuplot

set xlabel "时间"
set ylabel "幅度"
set title "正弦图像"
#unset key
set grid

plot "sin.txt" using 1 w lp pt 0 title "sin(x)",\
     "sin.txt" using 2 w lp pt 0 title "cos(x)"   #,\
     #"sin.txt" using 1:4 w lp pt 0 title "sin(2x)"


#pause 20
#exit
